﻿using SqlSugar;
using YL.Utils.Extensions;

namespace YL.Core.Entity
{
    [SugarTable("whr_support_records")]
    public class Whr_support_records
    {
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
        public int RecordId { get; set; }

        [SugarColumn(ColumnName = "user_id")]
        public int UserId { get; set; }

        [SugarColumn(ColumnName = "apply_id")]
        public int ApplyId { get; set; }

        [SugarColumn(ColumnName = "course_id")]
        public int CourseId { get; set; }

        [SugarColumn(ColumnName = "avatar")]
        public string Avatar { get; set; }

        [SugarColumn(ColumnName = "nickname")]
        public string Nickname { get; set; }

        [SugarColumn(ColumnName = "sex")]
        public int? Sex { get; set; }

        [SugarColumn(ColumnName = "create_at")]
        public int CreateAt { get; set; } = DateTimeExt.GetUnixTimestamp();
    }
}
